package com.baizhi.cmfz.entiy;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

@Data
public class Guru {

    @Excel(name = "上师编号")
    private int guruId;
    @Excel(name = "上师名字",orderNum = "1")
    private String guruName;
    @Excel(name = "上师图片地址",orderNum = "2")
    private String guruImage;
    @Excel(name = "上师法名",orderNum = "3")
    private String guruNickName;
    @Excel(name = "上师状态",orderNum = "4",replace = {"正常_0","冻结_1"})
    private int guruStatus;
    /**
     * replace 值的替换 意味着 如果 值为0 在写出到Excel文件的时候会被写为正常
     * orderNum 定义第几列
     * name 定义列名
     */

}
